Also wouldn't javascript:gs.getUsername(); pull the name of the person currently logged in to the survey and not the person who closed the incident for example.   that is what we wan't to display the name of the user who resolved the task that the survey is for.