Refactored for JS promises (Node package "Q") , which de-tangled  asynchronous callbacks.
Text change in index.html