created app.js and sample.js