Made changes to checkReady() to work with jsModern
Made changes to checkReady() to work with jsModern

Also removed 'inline' from Tools.get_document(), it was causing weird bugs

jasononeil/detox,jasononeil/detox,jasononeil/detox