Updating to coffeescript