Compile each javascript file to a seperate file.
A better way to detect and use the heroku env.