Add main.js to index.html

Closes #158.
Merge pull request #160 from drublic/main-js

Add main.js to index.html