Update randArray.js