javascript fix. gjslint.