update module.exports for browserify compatability

assigns the require of dc base package to module.exports for browserify compatibility.
This is so you can require the package and not have to put it in a script tag