[bug987131] - fixed JS Linting failures