API: Return jQuery promise from async methods