The Javascript exercise