fix checking for FormData existence

for browsers without FormData support, referencing FormData directly causes ReferenceError.
Merge pull request #142 from yeonhoyoon/master

fix checking for FormData existence