fix bugs in ie7_8
Merge branch 'master' into gh-pages