Mozilla is implementing Web VR for virtual reality devices.
http://mozvr.com/posts/webvr-lands-in-nightly/