removing uneeded doc.ready block