Refactored JS code.
Displaying instance events.