Fix some jshint errors.

This fixes up some simple errors caught by jshint.

Reviewed at https://reviews.reviewboard.org/r/6099/