Fix for sidebar button

sidebar.js was called before jquery was initialised. version wasn't the issue