Used JS parseInt() to get correct random index for CurrencyData.