Make FR pass jslint

Mark some things as global. I'm tempted to leave jsReviewNeedsChange though.

Bug: 63117
Change-Id: Iecccf029f34f7acb21b7ee2a91048e2a47d62e90