Use JSValue * over JSValueRef in more places. And properly handle boolean types.
Pull request: https://github.com/WebKit/WebKit/pull/6599
Committed 256801@main (156f516a9434): <https://commits.webkit.org/256801@main> Reviewed commits have been landed. Closing PR #6599 and removing active labels.
<rdar://problem/102484400>