updating app.js

Math.random() added to prevent cache