[FIX] javascript style fixes (RT-2813)