Added CoffeeScript version
Fixed timestamp bug, removed superfluous timestamp function
Small cleanup
Another minor cleanup
Yet another very minor cleanup
Added tests