Modified AjaxComtroller.

Signed-off-by: Luke.Xuan <aoser97@gmail.com>