fixed tagging javascript to also work for items added by auto-refresh
added tags in details view