title: How to change javascript files according to the screen size?
body: <p>Can anybody tell me how to change a JavaScript file according to screen size of an HTML page?
  Actually i'm making an adoptive website and I need to change some js files according to the screen size. Actually these js files are for a banner for this site so the banner will be changed when the screen size change. So if guys knows how to make a  code that replace the files in HTML page when user change the screen size or when it displayed on different devices.</p>
  
  <p>If anybody knows please tell me thanks.</p>
  
  <p>Thanks for every member who answered before....</p>