moved sidebar.js outside of js folder