fixes #4729 Can not add single file asset on IE

fixed the issue and committed code for review, please check it.