addes working prototype
made test/simple/submit.js to actually output something