ajax param communication to a shitty endpoint