working js fizzbuzz, in node and browser