Update IDB.js

fix batchInsert