Update index.js

allows add() to continue with the db op even if there is nothing to be added to the batch.
4.1.8
fix bug in put/del -- I guess no one was using those, becasue they would have posted an issue...