Fizzbuzz using javascript