add javascripts for s3 direct file upload
Add debugging code for file upload js