[PATCH v6 3/8] jscript: Retrieve the proper script dispatch from the named item in GetScriptDispatch.