updated bookmarks js controller