Fixed mixed content warning by downloading scripts