main.js re-factor.
JavaScript files exporting only a class are named as the exported class.
Added spaces to CSS.
Moved all browser-only code to js/utils/context.js.