Proper check for json browser support.