upgrade browser-pack to make `this` references work like in node