Fix bug with colors after right clic
Add .eslintrc and some corrections asked by eslint