In this context, "to jay" can be considered as "to become restless," like a jay bird might be. The author is suggesting that the uncomfortable quarters made the members of the group easily agitated and full of restless energy.