Why create xhr variable? We can just do a simple <code>return $.ajax(...);</code>