add ajax in mysub