path to main.js fixed