Fix javascript issues & add selection buttons

The JavaScript in the project was all brought in from the prototype which was, essentially a one-page website.

Most of the scripts were therefore unnecessary for this app. I have removed all but the script that controls the styling for the selection buttons and set up a base file (`main.js`) for all custom JavaScript.