JS linting and css optimizations