use Modernizr.canvas instead of $.browser.msie