AtD: Apply jshint to all JavaScript in AtD.

Merges r98093-wpcom.
AtD: Fix a couple incorrect checks for `undefined`.

Merges r98094-wpcom.
jshint: Unignore several AtD files