Javascript Array Not Duplicate Laravel Interview