issue #159: change the API for configuring DOM selector, so that the act...

...ual element does not overwrite the selector