first cut of fallback to ajax polling. requires better junit test
coverage after a lot of trial and error to get it working in the
browser.
graceful fallback to get/post when websockets are not available.