make sure they're AJAX requests, prep things for actually posting datas - right now the post doesn't go through