Did some refactoring around css classes in the demo site html, refactoring in the javascript in order to separate out some logical concepts into different files. Still needs work