LPS-40204 Displaying duplicate comments in Wall on IE10

http://issues.liferay.com/browse/LPS-40204, I found a similar bit of code in <portlet>/announcements/edit_entry.jsp, as well as a few other places.