access external script files with https when the page is accessed via https