title: how to minimize the code in jquery with many function in sequence by a loop or something maybe by utilizing arrays
body: <p>i'm very new to jquery, please help me in makeing a for loop or something through which i can minimize the amount of code written below :</p>
  
  <pre>
  
                  $.getScript(basejq + 'ui/jquery.ui.core.js', function(){
                      $.getScript(basejq + 'ui/jquery.ui.widget.js', function(){
                          $.getScript(basejq + 'ui/jquery.ui.mouse.js', function(){
                              $.getScript(basejq + 'ui/jquery.ui.slider.js', function(){
                                  $.getScript(basejq + 'time.js', function(){
                                      $('.timepicker').jtimepicker();
                                  });
                                  $('*').remove(':time');
                              });
                          });
                      });
                  });
  
  </pre>
  
  <p>I have no idea, i will appreciate any of your help, thanks in advance.</p>