Fix JS codestyle
Merge pull request #778 from romainneutron/fix-js-cs-3.8

[3.8] Fix JS codestyle
Merge branch '3.8'