add script support for ie 7/8