Fix inability to upload files on Flashless browsers

Affected browsers are Firefox (including version 21) and Safari
(including version 6).
Merge pull request #83 from va7map/fix-flash_upload

Fix inability to upload files on Flashless browsers