Update app.js

Maybe this works, I don't think so though. I'll have to take a more detailed look at it.