fullscreen implementation
removed redundant jquery externs