More jshint fixes, also add .jshintrc

Bug: 68335
Change-Id: I7a5fc29f9cff6e28fd765daf1a4f8093b3cdb8ac