Convert to CoffeeScript.

Over to you, @switz. References #10.
Merge pull request #13 from litenull/10-coffee

Convert to CoffeeScript.