try and get javascript working for sidebar