add text ajax action in main