diff --git a/js/drupalchat.js b/js/drupalchat.js
index a74e8d621007913e9abd8f6ad4f913ca143d1ef6..b7fa334aaeb2bf87472315c7e3019525461ce63a 100644
--- a/js/drupalchat.js
+++ b/js/drupalchat.js
@@ -8,7 +8,7 @@ if (window.jQuery === undefined || (Number(window.jQuery.fn.jquery.split('.').jo
     var script_tag = document.createElement('script');
     script_tag.setAttribute("type","text/javascript");
     script_tag.setAttribute("src",
-        "http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js");
+        "//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js");
     if (script_tag.readyState) {
       script_tag.onreadystatechange = function () { // For old versions of IE
           if (this.readyState == 'complete' || this.readyState == 'loaded') {