fail on ie7 and jquery1.8