Moved js from index.html to main.js
fixed typo
Merge pull request #1 from roel-sluper/feature

Moved js from index.html to main.js