Events in Javascript
See code
Stage