Added a slightly more concise layer over Ajax

I think it's now about right.