Switch JSArray to use a type family

Arrays will be `JSArray (JSRef a)` instead of `JSArray a`.
This means that the access phantom type `a` is not needed to make the
array type.

The existing code in that uses `JSArray JSString` is a bit simpler.