getting teams in sidebar moved in js