Check If Number In Array Javascript Append