Minor JS formatting for consistency
Merge pull request #2233 from darkwing/minor-js-formatting

Minor JS formatting for consistency