commonjs client-side wrapper use

commonjs module wrappers like browserify can emulate nodejs environment but not provide all native nodejs modules like crypto
so the check `typeof module !== 'undefined' && module.exports` is not sufficient as for example browserify provide method `require` and gracefully handle a call of a non existing module
`require('crypto')` returns an empty object and the whole following procedure of entropy addition fails