Fix typo in VisualEvent.js

This is a minor typo fix in a comment on line 863 of `js/VisualEvent.js`