added ajax to application