Could also do something like this... (The joy of JavaScript, 1000 ways to do the same thing!) <%
function nameProper() {
var name = recipient.firstName;
var propName = name.chartAt(0).toUpperCase() + name.slice(1);
}%>
Dear <%= nameProper %>, Dear <%= nameProper %>,