Phantom 1.7 fix

Preparing to deploy to npm