Added fileName formating

Corrected the naming of the uploaded files. Also created a JavaScript
replacement for the submit button as the photos are uploaded