converted javascript to coffeescript