Fix for a bug if omit tag is missing like in the demo page the library breaks. 

I didn't check if the omit attribute was there before asking for it's
value.  I added it on last minute and should have tested more
thoroughly. Sorry. http://jsfiddle.net/j6nkw/5/ 

I used a ternary (element.attribute.name) ? attr.value : false,
if that's cool then it should fix it