Able to post with AJAX. Still buggy