First commit, working for both coffeescript and javascript