(function ($, navigation, sbm) { var url = 'https://monitoring.duncan-parnell.com/T4DWeb.Admin/MonitoringIdentity/api/Account/LogOut'; $.ajax({ type: "POST", url: url, async: true, success: function () { console.log('Remote logout OK.'); }, error: function () { console.log('Unable to complete remote logout.'); } }) }(jQuery));