Update transform controls

Updates the TransformControls.js so you can pass in a document

Needed for the multiple-windows example.