Codebase translated to coffeescript