improved the json parsing and made the display pretty.
added the status text to indicate the current index of the documents
being shown. Minor refactoring and css improvements.