Use Google's CDN to host JQuery and JQuery UI, and use protocol agnostic URLs.