Add better webGL detection from three.js