Update app.js

adding id and _id attr, setting id val into _id, but currently not works