We've also added a new script: Transforms.js. This file contains the Transforms class that encapsulate the matrix-handling operations, including the push and pop matrix stack operations. The Transforms class replaces the functionality behind the initTransforms, updateTransforms, and setMatrixUniforms functions.
You can find the source code for SceneTransforms in common/js/Transforms.js.