He mentioned a paper titled "Exceptional Continuations in JavaScript" [2], that describes the method he used in his implementation.
Maybe you should get in touch?
[1] https://twitter.com/jlongster/status/726259468405751808
[2] http://www.schemeworkshop.org/2007/procPaper4.pdf