basic form for posting updates (through js)