core: pass opts object to browserify constructor