New rankings page
Refactor rankings js code