Optimization for Internet Explorer

Task: http://tasks.eternityincurakai.com/projects/39#227
fixes issue #8