Add interoperability hack to npm for functions that were built for browsers. Fixes #145
Upgrade npm