adding document.readyState check to fire scene init regaurdless of using jquery dom ready function