Jacek Caban : jscript: Directly return error code instead of using throw_type_error where possible.