coffeescript to js hotfix