Push Multiple Object Into Array Javascript Append Function In Prolog