Update app.js

it causes direct scripts and does not work app