changed the img add class js so it happened at load not when user hit allow