jsbox unicode stuff

We're seeing a lot of unicode-related errors being logged from jsbox apps, which seems to indicate implicit bytes<->unicode conversions somewhere.
I'd be happier with encoding to UTF-8 here because it's the same for ASCII characters but won't trip up on non-ASCII characters if they sneak in somehow.