added support for IE8+ support