Added code to sort js files within each directory