updated pouchDB to new version, and removed work-around in my code now that pouchDB handles invalid server URLs properly