adding main.js to html