Made js references use https.