try to make it work
updated app.js