the whole `if` statement can be replaced with:
```
Phonegap.ProjectProperties.downloadStatus[inPlatform] = inDownloadStatus === 1 ? "Download complete"
            : inDownloadStatus === 0 ? "Download failed"
            :                "Download on progress"; 
```
(with a better formatting that the one I can achieve with this interface ...)