More lint fixes due to "undef"

Summary:
These weren't found in the first pass because of JSHint's silly `maxerr` flag.
That will be fixed in another diff.

Test Plan: N/A

Reviewers: alpert, eater

Reviewed By: eater

Differential Revision: http://phabricator.khanacademy.org/D5128