fix extensions setting page (toggleswitch) #179

Since jQuery 1.6+ the .attr() function has changed. Now it will be used
.prop() to read the correct value for the selected html attribute.