Event registration to populate sidebar views from app.js and trigger events from within post.js