Uploading pictures, checking if already nominated, dropping number for id, flash messages in ajax