Update sample31.htm

fixed sample 31
Merge pull request #11 from 3skif9/master

Update sample31.htm