more IE8 compat issues, it needs extra braces but other browsers do not