private string JSDocumentReturn(string[] args) { if (args.Length != 1) throw new InvalidJSArgumentException ("DocumentReturn", -1); outDocument = args [0]; return string.Empty; }