changed to document.ready

Signed-off-by: Brandon Ewoldt <bewoldt1@gmail.com>