Update arraypopulator.js