3D capability in 4.0 API needs the browser to support WebGL. This sample shows how to detect if the browser supports WebGL and show proper message for browser not supporting WebGL.
To turn off WebGL: For example, in Firefox, type "about:config" in URL bar, search for "webgl.disabled" and turn it to true.