fix for travis npm version compatibility