JavaScript Kata 1