Fix coffeescript bugs.