Topcoder NodeJS Referral Leaderboard API - Final Fix

Moved functionality to leaderboard.js, please pull.