removing some unnecessary local vars frmo threadviewer.js
adding getCategory() to ThreadViewerServlet
Merge pull request #3 from erosb/master

adding getCategory() to ThreadViewerServlet