tabs
loading of js moved
load js only if page is displayed