added <input type="file"> support for add files to upload
added missed "window." prefixes for XMLHttpRequest and FileReader
revision 8