Re-order js order in index file