add pure looping demo to index.html