replace use of removeExpression() and setExpression() as these functions are not supported in IE8, IE9, IE10