fix naming error in _beforeUploading in filebase.js