The following-described practices, when done upon the head, face and neck for cosmetic purposes and done for the public, with or without compensation therefor, shall be construed as practicing the occupation of barber or master barber within the meaning of this chapter: Shaving or trimming the beard; cutting hair; styling or cutting hairpieces and wigs; giving facial and scalp massage or application of oils, creams, lotions or other preparations, either by hand or mechanical appliances; singeing, shampooing or dyeing the hair or applying hair tonic, and applying cosmetic preparations, antiseptics, powders, oils, clays or lotions to scalp, face or neck; provided nothing in this chapter shall permit any of the services or acts herein described to be used for the treatment or cure of any physical or mental disease or ailment.