Made changes so that GET variables are recognized by my javascript
and then used in the ajax request for the blog posts.