added ranking javascript