fixed Issue #386 and tested on native IE8 for windows 7