added code for fullscreen lock, mouse-look and html5 audio