Added js_object() and js_array() methods.