Continued reqrite of ranking js