Use new cleaned up ajax code.