Add defer attribute in example