BK-1013 Reformat all JavaScript files according to new JavaScript style