outerHtml method for firefox versions