onload optimization in myteamchooser