(no-ticket) Js code style improvement.

Used jshint to statically check code.

Change-Id: I2971ad161743fcf0ff7d5035c7c99a4eb377ee94
Merge "(no-ticket) Js code style improvement."