FLUID-4661: linting and fixing ie8 issue

Some minor linting. Also addressed an IE8 issue that was caused by trying to bind a listener to a non-existent fullScreenEventName.