converted to CoffeeScript
removed js from index.html
fixed some alert lines to CoffeeLint doesn't complain