Update app.js

improved mouse co-ordination