Support CommonJS style `require` (Browserify, Webpack, etc)

Hello. I like this library. So, I want to use it by NPM and Browserify. Could you support NPM at this library?
Hi @pine613 
in which environment are these two lines needed?