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.