Update app.js

Fixes http protocol