Check If Element Exist In Array Javascript