fixes for <=ie8

I want to start using this module directly from browserify when people `require('querystring')` but will need non-es5 support, which this patch enails.