Parses the stack property of errors. Cross-browser.