Used browserify to pull code out of client.js and make discreet modules.