Try xhr.upload.onprogress instead.
Works. Nice.
Bigger pic file size allowed.
Remove consolelogs.