picupload.js takes picture and submits to php through ajax