Contacts: Workaround for missing outerHTML in older Firefox. Fix #1075