some very simple and lame refactorings of pairStairs.js