Cleanup jsval -> string conversion functions

I'll probably do a followup to actually pass non-nullable strings to the native functions.