added params to ajax routes