Using the API in a Browser Interface