side panel and JS