Update pouch.alpha.js

Created replication event to monitor progress, added a couple of checkpoints for logs and made various adjustments to ajax so http requests are queued and repeated when failed.