Upload with AJAX(failed)

Try to upload with AJAX directly, but failed
JavaScript can't access local files due to security limitations
Add gitattributes