Adding comments for _js/rankFunction.js