Rewriten app.js

app.js is rewriten
Rewriten