fixed console error on test page in ie7-8