(khan-exercises) Fix linter errors for undeclared JS variables

Test Plan: N/A

Reviewers: alpert

Reviewed By: alpert

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