Tabs js update

b0zar's optimization & working div reload