Javascript sports league implementation