added scripts to sort js files