Updated main.js source quoted in index.html with actual contents of main.js. It seemed to be outdated.