Add a ton of refactoring to js and css
Add a ton of refactoring to js and css