Formats JS code consistently according to the coding style
Merge pull request #744 from nsendetzky/master

Formats JS code consistently according to the coding style