added support for options.extensions

From the browserify docs:

> `opts.extensions` is an array of optional extra extensions for the module lookup
> machinery to use when the extension has not been specified.
> By default browserify considers only `.js` and `.json` files in such cases.