chore: fix JSLint compliance