add JavaScript error logger
python fiddle browser dialog