Added additional timer to the init.js to wait for the initialization of the logger to finish before proceeding.