old_contents: document.addEventListener('DOMContentLoaded', function(){
  
  	// require('./plugins/loadImg');
  
  	require('what-input');
  	require('./modules/links');
  	require('./modules/polyfills');
  
  });
  
new_contents: const ready = () => {
  	require('what-input');
  	require('./modules/links');
  	require('./modules/polyfills');
  };
  
  if (document.readyState === 'loading') {
  	document.addEventListener('DOMContentLoaded', ready);
  } else {
  	ready();
  }
  
subject: Update entry point js