Updated to work with IE8 using a canvas polyfill.  Also added jQuery and updated example.