File support by using FormData

Add file upload through a Pjax form by using FormData object.