ParseError thrown

syntax error, unexpected '}', expecting ',' or ';'