public static string ReplaceFunctionToken(string script) { if (TokenUtils.IsFunctionToken(script)) { script = string.Concat("function()", script.Remove(0, 1)); } return(script); }