Make sure DOM is ready befor einit