Check If Array Element Exists Javascript Download