moved sidebar js to tablejs