can't react on connection issues if using options.complete instead of callback for db.replicate.[to|from]

Test fails with: "TypeError: undefined is not a function"
callback at 
https://github.com/pouchdb/pouchdb/blob/master/lib/replicate.js#L492
is undefined.