new jasmine, smarter trycatch (fixes #4)