jQuery: cover off the ajax handlers