Top n leaderboard

For #11

This is first pass. My js is so bad now :((((((