Getting rid of ondomloaded event.