move font loading to main js