JavaScript Updating arrays with data from separate array

visit shbcf.ru