Fixed mixed content bugs when viewing the website over https.