Update mongoosastic.js