Standalone JavaScript file to generate a page loading animation.