Test on how to upload using the FileReader javascript API