improve IE 8 - 10 compatibility