Change method for autoloading.
Use CouchDBConnector for listing fields
Replace location only if ajax is done/always