added a webgl check