 $ ->
+    Builder = ORBEON.Builder
     OD = ORBEON.xforms.Document
 
     LabelHintSelector = '.fr-editable .xforms-label, .fr-editable .xforms-hint'
+    ControlSelector = '.xforms-control, .xbl-component'
 
     # Global state
     currentControl = null

        labelHintEditor().textfield.val(labelHintValue()).focus()
        labelHintEditor().checkbox.prop('checked', isLabelHintHtml())

    $('.fb-main').on('click', LabelHintSelector, startEdit)


        editor

    # Show editor on click on label
    startEdit = () ->
        # Remove `for` so browser doesn't set the focus to the control on click
        currentLabelHint.removeAttr('for')
        # Setup tooltip for editor (don't do this once for all, as the language can change)
