codeformatting
JS updated