Update app.js

Attempting to fix issue #4, per @githagman's suggestion