Fix various ESLint warnings