Removed dependency on jQuery. Works in IE9 and higher.