added the possibility to change the parent of the progressbar - setParent function. Added getDomELement function which returns the container of the progressbar