Updated the app.js to reflect the api and site separation.