A Javascript exercise for Supinfo students