fixed calling `new(Foo)` when Foo was an external javascript constructor that was assigned to a variable before hand `Foo = A.B.Foo`
new test using box2dweb
imported box2dweb build