create list of all posts (id + url). Javascript array of objects written in the HTML