Provide a mechanism for reporting JS syntax errors.