fixed an issue with not retrieving js by ambiguity, using 'https' explicitly now