Use prop instead of attr, fixes #9
Using prop instead of attr min
Forgot this one for #9