Combine setting the number of players, with making the job stack. Dynamic constants (aka variables) is bad programming.

makeJobStack(this.players.length);