Don't set undefined attributes.
Merge pull request #18 from wiredearp/master

Bug in Jquery attributes