Fix npm.

This is a copy of the version we had in develop