You need to check all your startup() calls because you repeatedly call startup() before the element is added to the DOM.