making js files pass jshint test

Bug: 61631
Change-Id: I0c25ff5363aa68f1a6484dad6054d026015fafca