refactor: coffeescript