Minor update to JS to fix linting warning.