Add jshint and clean up files which fail its validation

Change-Id: I719764d50638e8db34b544bdd99c527004b632c7
Merge "Add jshint and clean up files which fail its validation"