finish off the ajax POST
Merge pull request #18 from Keyang/alan

finish off the ajax POST