Sync with original fork - added ajax func to example