js: Fixed gjslint issue