The more important question is: βWhy is IE11 giving this warning?β
Are you leaving a safe page for an insecure one? That is, do not forget to explicitly specify the protocol:
var url = '//api.booking_site.url/api_endpoint';
, URL-, .
, , , , , alert:
window.alert = function() { return true; }