add loading bar and css file