Fix JS code style
Merge pull request #776 from romainneutron/fix-js-cs-3.8

[3.8] Fix JS code style
Merge branch '3.8'