Update index.html

Add simple state sample.