Added support to jQuery, added partial support to IE8