Condense 2 ajax calls into a single call