Table modifcations working propertly. HTML and Jquery