Cleaning up coffeescript