use Modernizr to test browser