Table coordinates shown onclick, as well as table cell style change