add public file and update app.js