workaround for IE8 jquery trim