Also test emitted warnings on JavaScript SyntaxErrors