Run sed to switch all js loads to https

find . \( ! -regex '.*/\..*' \) -type f -print0 |\
  xargs -0 sed -i '' 's/src="http:/src="https:/g'