cleaning up coffeescript