exercice JScript advance