Clean up some non-coffeescript syntax