+1 maybe look in modernizr?