Doc: use s: var for all examples
Merge pull request #221 from haya14busa/fix-doc

Doc: use script local variable for all examples