Support IE8

All tests are passed in IE8.