implementd card recommedation
fix calc.php for earlier version
add card.js