add some browser-capability checks