removed obsolete testing Javascript functions from homepage.
Fixed the bug in toggling fullscreen.