Fixing a syntax error in visitor.js.