fix error handler in file upload
add a few tests to index.html
Merge branch 'master' of https://github.com/amd/rest3d