External scripts to https (II). Fix #21