rudimentary stdout ajax work