Update app.js

Use click instead of dblclick to enable mobile use