Scenario 2
document.writeln( "Congratulations " + GetValue( "cmi. " ) + ", you scored 80% on the assessment and have passed this course." );
document.writeln( "Congratulations " + GetValue( "cmi.learner_name" ) + ", you scored 80% on the assessment and have passed this course." );