Fixing the ssl error caused on secured website

Updated to work smoothly on secure websites, where non ssl scripts are not loaded, as of now all the network support ssl link.