picupload.js takes the input image and sends it to the php via ajax