Update StaticResourceUploader.js

bug fix.