added the first js snippet about file uploading with AJAX and jQuery