add missing semi-colon
consistent use of array literal notation
literal object notation
Merge pull request #727 from Trott/linting

Cosmetic code changes.