Support for ajax file uploads