Wrap script in function, see https://github.com/phetsims/scenery/issues/1042
Wrap script in function, see https://github.com/phetsims/scenery/issues/1042

phetsims/scenery,phetsims/scenery,phetsims/scenery