fixes to main.js
main.coffee added for word-analytics