Register animation styles and scripts on each page