renamed app.js to pattern1.js