Accept callback as second argument to ajax().