IE9-10 compatibily. Wait until document.body is defined to initialize th...

IE9-10 compatibily. Wait until document.body is defined to initialize the library.