Rename JS list to array