Added doc ready event to replace the window load event