Some exercises to practice JavaScript