Recommit: Add documents and document item view, template, fix ajax request