extend index.js and remove direct routing code in app.js
add Javascript Ninja test code sample.