Javascript implementation of Sender Rewriting Scheme.