Move sample to index.html