more IE8 compat issues, it needs extra braces but other browsers do not -- missed because it was in the tomcat dir not the dev dir - suppose to be with the previous commit