Throw and catch exception if no webgl