Syntax error in main.js
Merge branch 'master' into gh-pages