fix, extend

added functions ajax getting more posts to our templates and filter our
templates