Reorganization of JS and CSS directories

This is pulled out of Maxime's ui-refactoring branch.
No intentional changes in here other than moving files around
and adjusting imports to match.