Add simple routing to app.js to prevent js errors on other pages