Attributes: Only assert button.attr('value', val) for jQuery>=1.9

Fixes #68
Closes #69