JavaScript implementation of the classic Fizz Buzz kata