add fullscreen mode javascript code