added waiting function, wait till a module / constructor / property is loaded, then callback