Apply coding conventions for JavaScript

Change-Id: Ibae64ca7aa52c2283ff81bd942be80c83a4089f7