Use Filter In Array Javascript Append Function In Prologix