Moved the upload code inside a sketchfab JavaScript file
This file is intended to be a standalone Sketchfab JS library to handle file uploads
merge