change js so edge cells do not change color upon click event