Add camalized type for input elements as class for css convenience
Try to avoid outputting html comment formatted debug info when not outputting html