Functioning fizzbuzz.js