Prepared for npm publish

Converted module to `UMD` and updated `package.json`, so it could be uploaded on `npm` and used in browserified apps. Happy [24pullrequests](http://24pullrequests.com/) :)