Fixed naive coffeescript bug