made path https for JQuery