use data- attributes for javascript instead of looking at row column values