Added views to javascript preloader