Extending PR #23

Extending PR #23 and basically just rewriting the js for the datetime partial to support nil and to not be ugly as hell.
Yeah that makes sense. Just be careful because in the else statement I used the form builder - = f.check_box(attr_name, {value: boolean, class: "boolean", disabled: "disabled"}). This will be broken now.