stack trace decoding is complicated by the fact that browsers other than Chrome haven't reported column numbers in the stack trace (IE10 may, I haven't check). But for Chrome stack traces, I written decoders a couple of time and they work well.
There is a general Source Map library written in JavaScript available here: https://github.com/mozilla/source-map