Cleanup: removed unnecessary script reference
Cleanup: use 2 space indent
Agreement: fixed button toggling
Webpack: aliased external dependencies

This will allow to `require()` dependencies that are not available as npm
modules (even if they are not really CommonJS modules).

Part of #3316.
Spinner: make sure the library is included
Agreement: converted code into a CommonJS module

Part of #3316.
Admin: converted code into a CommonJS module

Part of #3316.
Users admin: adjusted directory layout for consistency
Browser: converted code into a CommonJS module

Part of #3316.
Utils: converted code into a CommonJS module

Part of #3316.
Captcha: converted code into a CommonJS module

Part of #3316.
Dropdown: converted code into a CommonJS module

Part of #3316.
Messages: converted code into a CommonJS module

Part of #3316.
Score: converted code into a CommonJS module

Part of #3316.
Search: converted into a CommonJS module

Part of #3316.
Stats: converted code into a CommonJS module

Part of #3316.
Models: converted code into a CommonJS module

Part of #3316.
Collections: converted code into a CommonJS module

Part of #3316.
Contact: converted into a CommonJS module

Part of #3316.
Cleanup: moved bidi call to the stats module