Fix jslint errors.
(cherry picked from commit aa70246c664f5a238cbd65ea074b48a490632b8a)