created app.js with method 'log'