Jwe, Jws optimization