Popup Functionality

Rudimentary popup and JS functionality.