public static string RenderScriptElement(string skinPath, Script script) { return "<script" + RenderScriptAttribute("type", script.Type) + RenderScriptAttribute("src", GetScriptSourcePath(skinPath, script)) + RenderScriptAttribute("defer", script.Defer ? "defer" : null) + "></script>" + Environment.NewLine; }