missing a backslash in regex break javascript in IE8