Update /ja/index.html and /en/index.html article code samples.

Fixed to use the latest API in the article code samples.