Use jQuery in the demo

It’s just easier. I promise I’ll keep it out of the actual library.
Add validation for the number type