jQuery incompatiblity

More info: http://jquery.com/upgrade-guide/1.9/#attr-versus-prop-