add jquery doc.ready stuff for clarity

depends on jquery!