Switched ajax call to hit pihro couchdb instance