Merge pull request #2 from stephpy/master

Add a way to edit beforeSerialize action of ajaxForm
specific thing to redirect to login when fetch login-form during ajax request