[PATCH 05/10] jscript: Directly return error code instead of using throw_reference_error.