how to add loading animation to website