Added a new js file to hold all of the event handlers for the popup