[js]: Added Detector, for detecting WebGL support