Fixed a typo that caused processed to stay False
Added API for submission posting / polling

(and also some basic JS to start to support it... still not fully working)