Update to work with the current version of emscripten (1.22.0) which now crashes if global variables are initialized to literal values encoded in strings strings. Instead, pass literals through without converting them to a string but make it an error to initialize a variable with side effects, since the emscripten compiler will now evaluate all variable initializers at compile time.