Enhanced the support for browserify  and requireJS