revert ajax for local testing