major refactoring
Remove rank.js