start of ajax wrapper, query shortcuts