Add an example to use the functionalities as a list in the viewer.js.