Commented and cleaned up some linter warnings.

Fixed a few warnings from CSS and JS linters. Added comments to the
JavaScript.