Add historic nodes only if not already in array
Clean css class ; limit historic to 3