cleaned up ajax methods