Event Listeners

In the JavaScript version of Age Gate, there are two event listeners fired, agegateshown and agegatepassed. These are triggered on showing the Age Gate and once it has been successfully passed respectively.