Fix lint warning
Merge pull request #1704 from steventlamb/bug/fix_js_warnings

Fix lint warning