Fix fullscreen mode
Wrap var declarations in index.html into an IIFE
Merge pull request #313 from jpbackman/fix-fullscreen-mode

Fix fullscreen mode