Use data argument for ajax request

The parameters need to be url-encoded to prevent and invalid characters
in the parameters (if using & in a field for example).

If the initializer function is called multiple times, the events will be
readded and the ajax request may be done multiple times.
By removing the events before, it will prevent this problem.