Fizzbuzz in Ruby, Javascript & IO