a simple ajax framework.