Fix few typos and JavaScript syntax for .js files
Merge pull request #6 from piotrgiedziun/gh-pages

Fix few typos and JavaScript syntax for .js files. Thank you Monsterbox!