[3.8] Fix JS codestyle