How To Convert List Into Integer Array Javascript Duplicates In Google