JS Clumping

Moved all the JS code into one JS file, mostly cause I like delegation
of duty.