using lightweight modernizr again, to prevent gmail from going nuts