update app.js to ru tutorial