it looks like `$.extend` mutates the object, so the assignment to `spec.controlElement` is red herring (but not breaking anything)