Bookmarks api js in progress