Added font extension detection and  bullit proof font-face syntax