- clean up fullscreen mode using javascript