Add preloader for js files.