ticket6: add ajax