Re-order loading of javascripts files