Load mixed content on page load with Javascipt Modern browsers are constantly forcing https for all situations.