index.html with script that works (OMG YES) main.js is not included in html head, code is bad.