preloader,.js triggers loadSample