jquery 1.10.1 fix

must use prop() function.
prior jquery versions use attr() function