added IE9+ support