Added jshintrc and fixed warning

Change-Id: I8615914bc5cb292db2a1c7ffa6f22d87c303f158