Seems to me that this prenaming stuff is closely related to classlist. Maybe put both boxes inside the same div box thing?