Fix ie 6,7,8 issue in util