continue refactoring js.coffee files