Add TODO and improve ajax_http_handler params checking.