move example to index.html