so my passenger headlight has been playing games with me. sometimes it will turn on sometimes it wont. So i said screw it and bought new bulbs and as i was replacing them i noticed this box (see pics) was making a funny noise as i was turning the headlights on and when the light decided not to turn on. When they turn on the little box doesnt make a noise at all. does anyone know what this is and or how much it might cost to replace. and also could this be why my headlights are playing with me.