not sure.  IIRC a lot of the `escapeHTML` calls were added to satisfy the AMO reviewers, who are pretty firm on making sure everything is secure and escaped properly. a time-lapse view of this line might shed more light on that decision.