Convert base.coffee to JS.