add jquery file upload middleware