jQuery js not being loaded when using HTTPS

Fix loading scripts from HTTP when connecting via HTTPS
Merge pull request #1114 from janv8000/patch-1

jQuery js not being loaded when using HTTPS