Support trim in IE