load js file if window size