added document.ready to tester