[PATCH 07/10] jscript: Directly return error code instead of using throw_uri_error.