jquery validations to all image attachments