Implement Preloader

Add necessary JS and CSS to the preloader.