- update comment
- move the Javascript functions into JS files where they belong, but set
  global URL variables through the JSP.
- refactor work item related tasks into a single javascript object