Compiles but with sweet.js syntax error