Rewrite everything in coffeescript.