Switching to a modular style JavaScript and stripping out the theme functionality to be more lean and focused