Refactor user bundle
Prepares to add webpack code-splitting to the user profile page and eliminates ~"technical debt"
- Moves additional code specific to the user profile page (
user.js
,user_tabs.js
) out ofmain.js
and into theusers
bundle. - Renames
Calendar
class toActivityCalendar
for clarity and refactors into ES class/module syntax. - Moves our global scope pollution into
index.js
to make it an easier target for refactoring later.