Fixed jquery url to http and https mixed error