Updated the ranking js