Pull: add missing attribute "required" and other fixes. Re-minified Javascript.

Bugs fixes included in this request - #20, #21, #22.

--
Hi Eric,

I hope these fixes are useful. Best wishes,

Nick