revert ajax url changes