Just a bunch of tweaks

Couldn't find anything apparently wrong with your script. Just that the _"Wait we're still uploading"_ was inside the `form#photos`-node and thus hidden after a succesfull validation.

So I just moved a bunch of code around and made it prettier (according to my standards), just to be able to say I pitched in ;-)