cleanup of the coffeescript