XWIKI-9014: Error on page when viewing profile pages on IE8 on XEM
Fixed.
(cherry picked from commit 1d578088e0f8db05a6eb281e728a898e3e0753e7)