Added support for commonJs (npm/browserify)
Merge pull request #482 from apatterson-ni/commonJsCompatibility

Added support for commonJs (npm/browserify)