Missing var declarations for js linting