Fizzbuzz app in JavaScript