Add script to deal with npm bundles