Simple JS test of browser support