adding ajax and fixing ajax rqt