js/lifelog.js: remove tags from the sidebar list when all entries with that tag in the view have been removed