Convert project from coffeescript to javascript