Cross browser solution to add content to an element

This will fix the issue with Firefox and IE8