Clear container dom entries after changes in input value