Your browser does not support the video element. Kaley Cuoco learned not to ‘take [herself] seriously’ after working with John Ritter