ECMS-5526 avoid encoding file name twices in js code when uploading file...

... in IE8&9