added sidebar.js to make updating site more dynamic and DRY