added fullscreen detection

You used jQuery code snippet to detect the browser?