don't call analytics locally
converted main.js to main.coffee
change error msg to use ui instead of alert
remove main.js
fix gameerror test to just happen in error callback
remove commented code
fix rspec tests