change the order of js files calls