using $.prop() instead of $.attr() for boolean attributes

When setting the checked values for radio buttons, $.prop() should be used as mentioned in [$.prop() jquery documentation] (http://api.jquery.com/prop/).

The toggle function for radio buttons is broken although the attributes are changed properly in the markup. Upon form submission, the form was not sending the selected values across. This pull request fixes it.