Fix sample checkout method in readme
update index.html to compute less digits