Update whichTriangle.js