support http/https jquery reference