Rejigging the JS about for the blog side panel