uses prop() instead of attr()

jQuery 1.6+
Merge pull request #4 from nicolas-t/master

using prop() instead of attr() to detect if checked