we should probably move all our document.ready functionality to one place