[PATCH 04/10] jscript: Directly return error code instead of using throw_range_error.