attempt to work with ie8 and 9