Main File

This is the JS in long form. Needs to be properly minified when
completed.