Make ToJSString a subtype of ToJSRef and PToJSRef

and FromJSString a subtype of FromJSRef and PFromJSRef