Jquery documentReady as a component