how to auto generate first initials last name using javascript in an .xml form