Improved handling of viz configs and google jsapi failure