fix coffeescript syntax error