Adjusted JS-sources formatting

to fit our common code style