Added support to IE9+