ajax support
code clean