- fixed indexes after adding/removing entries
- remove and add containing div by js, too