Javascript coding style modifications.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Fix typo.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Coding style modification.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>