use prop() to set and remove the 'disabled' property instead of attr, #417