Added a DOM ready statement