Convert to coffeescript.
Cleanup.