[NEXUS-5940] Reformat js files

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>