re arranged js files