Improved check for existance inside DOM of selected element
Check if widget's element is inside the DOM in prepareElement before calling position and style;
Wrapped register's call to uijet.register in a check for this.registered which is true only after such registration
Improved contains