reverting back to commonjs format, using browserify to compile
index-browser.js which will load into window.habitrpgShared. Not the
best method, we'll move to requirejs (r.js?) later