converted js to coffeescript and recompiled