Fixed a typo and IE8 support