Apply coding conventions for JavaScript

Change-Id: I1ab432ec54e82b05b7c096baa5d4e56dce11aaa9
Merge "Apply coding conventions for JavaScript"