added previewTemplate to upload.js to change upload image size to 400