Checkboxradio: ensure proper input order is maintained in the dom durring enhancment. Fixes #339 - Checkboxes don't work when used with ROR checkbox helper