Some fixes to try/catch/finally in Safari and IE