made the ajax uris configurable