Base: Move DOM dependent changes into ready()