added validation for trail upload w jquery, must include at least one image