add parameters to url when ajax is sending