Bind XHR urls to form action attribute