Update /ja/index.html, /en/index.html and /static/samples/meter-node.js

The article code samples should be updated for the latest API.
And, /static/samples/meter-node.js should be also updated for the latest API.