ajax and javascript is displaying articles links in header. need to format still