fix for JavaScript crash
toString methods
test for scoping issue
add actual call to code
new special parent scope for cases where JavaScript redefines a variable using a reference to the existing definition
expose matcher to allow specialization
remove some printing
new tests