jscript: Properly handle NULL pvarResult in ParseScriptText.