Monocle.js is a project mainly written in JavaScript, it's free.
A monocle to go with your mustache. Quick and dirty auto-generated form element templates for mustache.