[bug987131] - fixed JS Linting failures

-> https://bugzilla.mozilla.org/show_bug.cgi?id=987131