I wonder if Jquery would help you here:

```javascript
var $container =  $('<div />').addClass(CLASS_NAME);
var $href = $('<a />').addClass(options.iconClass);
var $span = $('<span />').addClass(help).html(options.helpText);
var $input = $('<input />').addClass(CLASS_INPUT).attr('placeholder', 'Address');
var $button = $('<button />').addClass(CLASS_SUBMIT).html('Search');

$container.append($href, $span, $input, $button)
```