Makes the JS and HTML play together nicely