Make sure the Ajax URL is always defined.
Prevent race conditions, usually triggered by nervous clickers.