card rank and js
cardrank