Fix npm/mongo incompatibility on modulus