src/*.html: streamline regex for data url matching; streamline loadpg()