VE-1489: Return jqXHR without creating local variable