Update app.js

Fixing broken send