Uncaught SyntaxError: expected expression, got '<'

See the v6 upgrade guide: