Migrates and implements more JS

All php files affected in this commit are functioning fully now
Updates all remaining JS except for multisession
Updates styling for multisession.php
Merge branch 'master' into js-update
Fixes bugs and cleans dead code