fix javascript refresh when deleting multiple bookmarks in a row