Fixes #56. Improved formatting for anonymous functions in Chrome. Tests for Chrome and Firefox reworked with use of `CapturedExceptions`.