A little cleanup of JS and eslint configuration.