Posting now works with ajax.