Element Not In Array Javascript Concat Function In Java