Prep JavaScript in ./tmp folder