Compile coffeescript to javascript for npm

Another take on #4 that handles the compilation for npm