Add secure URL in widget code