`edit` and `history` as classnames is too broad and seems like it could get us into trouble.  Let's abandon the classnames and use `data` attributes instead.