refactor: separate .coffee and .js files