setting up and detecting webGL