Added support for Common-style require

Needed to change module to thisModule so that it didn't overwrite the common.js module global.
Instructions: how to use w/ Browserify or similar
Merge pull request #25 from theqwertman/master

Made script Browserify-compatible