browserify _extensions taken into account

Fixes issue #3
I copied and pasted directly from browserify constructor. I'll use `this` ;)