add ajax to app