A simple ajax class