Patches sidebar js