[Mediawiki-api] upload using Javascript (and its File Api)