Use HTTPS in JS example