Update app.js

Could not get it to work "as-is". This change allows the app to be able to download the chat.js script, and now it seems to work ok.