coffeescript clean up