Attach CollisionTiledLayer to the global window

It's already being implicitly made global, but it would be
better if this were explicit. This is breaking a JS-shrinking
program I am using.