Fix domNode resolution on Widget.
fixed issue with widget when domNode was already assigned. Fixed an issue with router in Firefox