fixed js file for fullscreen