Convert to using CoffeeScript

JavaScript bad, CoffeeScript good