changed script back to main.js in html