Document ready to window load for better display