Copied main.js from faulty heroku deploy