Update sidebar.js

fixes #3