chained http and https js target together