working on the doc. Documenting API.bookmarks.

Little changes to the api.js