JSValue and JSArray functions (most of them)