Visually show Javascript events on a page