Add JSHint compliance

This fixes a handful of JSHint warnings like missing semi-colons and the like.

This also removes an overly eager line in `.gitignore` because it will omit *any* file that starts with an "s" in the entire repo which I don't think is what was intended.