Ports demo to native VR API

Hi from Mozilla. This patch makes one of those demos use the VR native APIs in the browser.