Formation of episodic magnetically driven radiatively cooled plasma jets in the laboratory