Updated JavaScript includes to be compatible with secure sites