ajax example in presenter