remove hard coded target dom and changed to set it through getTargetDom interface.