documenting the API and how to use in browser #297