Fixed the javascript so it refreshes the user's bookmarks