Make the bundle browserifiable. In that case we have a module loading system, but still want to use document.createElement() for the canvas
Merge pull request #28 from cburgmer/browserify

Support module system for browser environment (browserify)