throw, try-catch-finally and Javascript error flavors support