Fixing compiling the JS formats for non-default languages.