handle json loading errors or no browser support (embed)