Update TransformControls.js to let the document be passed in

This is needed for the multiple windows example.