Convert base.coffee to JS.

Probably not... might as well just move these one liners into the `init`. Good point.