Add detector to display error message when webgl is not available