use factory directly
updated after review
fixed commonjs mistake
Merge pull request #30 from alexanderbeletsky/browserify-2

Use factory directly