Added card type and updated to latest jQuery SDK