bit more formatting on the doc.ready function