syntax error, unexpected token "class", expecting "function" or "const"