Added possibility to have the posts listing through Javascript.
List support for posts index AJAX