add loading spinner scripts and css