Dumb JavaScript pre-compiler