That's cool, but it's pretty standard for me to use classes on inputs to make up for IE's lame CSS2 selector support (such as input[type='text'] {....}).
the ones I use every time are:
Code:
<input type="text" class="txt" ........ />
<input type="submit" class="btn" ....... />
So how about an optional class attrib?
Personally, I'd also move all the add() params to an object literal. That's just preference though, not really a technical consideration