fix syntax errors in js
Merge pull request #4 from scotts0rensen/gh-pages

fix syntax errors in js