Newer jQuery.attr returns undefined, handle gracefully

Fixes #3236
replace ids/names for select boxes as well

Fixes #3236
Log CVV response messages on payments

Fixes #3266