Bulk of Javascript is now contained in separate file and loaded in using Wordpress functions.

In the process of changing the functionality of the group mapping table from server and client in order to fix some bugs.