Switch to https for img and js