Update app.js

Add use-strict syntax.